{% extends 'web/logbase.html' %}
{% block logbody %}
<div class="banner-box hidden-xs hidden-sm">
  <div class="container">
      <!-- 会员注册 -->
        <form id="regForm" name="regForm" action="{% url 'doregister' %}" method="post" class="main-form">
          {% csrf_token %}
          <div class="tab-title">
            <a class="linkAGray" id="toAccountLogin" href="javascript:void(0);">账号注册</a>
          </div><br/>
          {% if info %}
          <div class="tip-box {% if status == 'success' %} tip-box-info {% endif %}">
            <button type="button" class="close" data-dismiss="alert" aria-label="Close">
              <i class="glyphicon glyphicon-exclamation-sign"></i>
              <span class="tip-font">{{info}}</span>
              <span aria-hidden="true" class="cha">&times;</span>
            </button>
          </div>
          {% endif %}
          <div class="normalInput cycode-box fieldInput" id="cycode-box">
            <div class="cycode-selectbox">
              <input class="ipt-account inp-focus" name="reg_username" id="reg_account" maxlength="50" placeholder="登录账号" autocomplete="off">
            </div>
          </div>
          <div class="normalInput fieldInput passwd-box">
            <input class="inp-focus" name="reg_pwd" id="reg_pwd" maxlength="16"  autocomplete="off" placeholder="密码" type="password"/>
           </div>
          <div class="normalInput fieldInput passwd-box">
            <input class="inp-focus" name="reg_repwd" id="reg_repwd" maxlength="16"  autocomplete="off" placeholder="重复密码" type="password"/>
          </div>
          <p>点击立即注册，表示您同意并愿意遵守<a>Flyme服务协议</a>和<a>法律声明</a></p>
           <a id="register" href="javascript:document.regForm.submit();" class="fullBtnBlue">立即注册</a>
          <div class="transferField">
            <a class="go2register linkABlue" href="{% url 'login' %}" id="toLogin">登陆</a>
          </div>
        </form>
  </div>
</div>
{% endblock %}